package com.service.user.service;

import com.client.model.pojo.bank.ArElectronic;
import com.client.model.vo.common.Result;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-bank")
public interface BankFeignService {
    @GetMapping("/airui/api/bank/findBank")
    public Result findBank(@RequestHeader(name = "token") String token);

    @GetMapping("/airui/api/electronic/getAssPrice")
    public ArElectronic arElectronic(@RequestParam(name = "token")String token);
}
